//
//  SetupViewController.h
//  Wtracker
//
//  Created by Anna on 6/28/10.

#import <UIKit/UIKit.h>



@interface SetupViewController : UIViewController <UIPickerViewDataSource, UIPickerViewDelegate, UITextFieldDelegate>{
	IBOutlet UITextField *nameTF;
	IBOutlet UITextField *emailTF;
	IBOutlet UITextField *defEmailTF;
	IBOutlet UIPickerView *unitPicker;
	IBOutlet UILabel *unitLabel;
	NSArray *dataSource;

}

@property (nonatomic, retain) IBOutlet UITextField *nameTF;
@property (nonatomic, retain) IBOutlet  UITextField *emailTF;
@property (nonatomic, retain) IBOutlet UITextField *defEmailTF;
@property (nonatomic, retain) IBOutlet UIPickerView *unitPicker;
@property (nonatomic, retain) IBOutlet UILabel *unitLabel;
@property (nonatomic, retain) NSArray *dataSource;

-(BOOL)textFieldShouldReturn:(UITextField *)textField;
-(IBAction)saveSettings;


@end
